<!DOCTYPE html>
<html lang="zh_CN">
<head>
  <meta charset="UTF-8">
  <title>两小儿辩文档</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta http-equiv='Content-Language' content='zh_CN'>
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
  <link rel="shortcut icon" href="https://zergqueen.gitee.io/images/myblog/favicon.ico">
  <link rel="stylesheet" href="//gcore.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
  <!--侧边栏样式-->
  <link rel="stylesheet" href="//gcore.jsdelivr.net/npm/docsify-sidebar-collapse/dist/sidebar.min.css" />
  <!-- 编辑 -->
  <script src="//gcore.jsdelivr.net/npm/docsify-edit-on-github"></script>
</head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-F2LQQHFST6"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'G-F2LQQHFST6');
</script>
<body>
  <div id="app"></div>
  <script>
    window.$docsify = {
        name: '技术文档', // 文档标题，会显示在侧边栏顶部
        repo: 'https://github.com/xjw580/myblog', // 右上角Github图标链接
        loadNavbar: true, // 默认加载 _navbar.md，作为顶部导航栏
        loadSidebar: true,
        subMaxLevel: 4,
        sidebarDisplayLevel: 1,
        coverpage: true,
        nativeEmoji: true,
        //搜索
        search: {
            paths: 'auto',
            placeholder: '搜索',
            noData: '找不到不代表没有',
            depth: 4,
        },
        //复制代码
        copyCode: {
          buttonText : '点击复制',
          errorText  : '错误',
          successText: '已复制'
        },
        //编辑页面
        plugins: [
          EditOnGithubPlugin.create(
            'https://github.com/xjw580/myblog/edit/master/',
            null,
            file => {
              // if (file.indexOf('en') === -1) {
              //   return '编辑'
              // } else {
              //   return 'edit on git'
              // }
              return '编辑'
            }
          )
        ],
        //分页
        pagination: {
          previousText: '上一章',
          // or
          nextText: {
            '/en/': 'NEXT',
            '/': '下一章'
          },
          crossChapter: true,
          crossChapterText: true,
        },
        //字数统计
        count:{
          countable: true,
          position: 'top',
          margin: '10px',
          float: 'right',
          fontsize:'0.9em',
          color:'rgb(90,90,90)',
          language:'chinese',
          localization: {
            words: "",
            minute: ""
          },
          isExpected: true
        },
        //阅读进度
        progress: {
          position: "top",
          color: "var(--theme-color,#42b983)",
          height: "3px",
        },
        //cusdis评论
        cusdis: {
          host: 'https://cusdis.com',
          appId: 'f1cb1e01-a518-497c-81f8-d37669120aa5',
        },
    }
    window.CUSDIS_LOCALE = {
      "powered_by": "评论由 Cusdis 提供",
      "post_comment": "发送",
      "loading": "加载中",
      "email": "邮箱地址 (可选)",
      "nickname": "昵称",
      "reply_placeholder": "回复内容...",
      "reply_btn": "回复",
      "sending": "发送中...",
      "mod_badge": "管理员",
      "content_is_required": "内容不能为空",
      "nickname_is_required": "昵称不能为空",
      "comment_has_been_sent": "评论已发送，管理员审核通过后会展示"
    }
  </script>
  <!-- Docsify v4 -->
  <script src="//gcore.jsdelivr.net/npm/docsify@4"></script>
  <!-- 搜索插件 -->
  <script src="//gcore.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
  <!-- 一键复制插件 -->
  <script src="//gcore.jsdelivr.net/npm/docsify-copy-code"></script>
  <!-- 代码高亮 -->
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-json.min.js"></script>
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-javascript.min.js"></script>
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-css.min.js"></script>
  <script src="//gcore.jsdelivr.net/npm/prismjs@1/components/prism-sql.min.js"></script>
  <!-- 图片缩放 -->
  <script src="//gcore.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
  <!-- cusdis评论系统 -->
  <script src="https://cusdis.com/js/cusdis.docsify.js"></script>
  <!--侧边栏折叠-->
  <script src="//gcore.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
  <!--分页-->
  <script src="//gcore.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
  <!--字数记录-->
  <script src="https://gcore.jsdelivr.net/npm/docsify-count@latest/dist/countable.min.js"></script>
  <!--阅读进度-->
  <script src="https://gcore.jsdelivr.net/npm/docsify-progress@latest/dist/progress.min.js"></script>
  <!--翻页快捷键-->
<!--  <script src="https://gcore.jsdelivr.net/npm/docsify-pagination-keyboard-helper@latest/dist/bundle.js"></script>-->
</body>
</html>
